/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 陈俊行
 * @Date: 2023/11/05/9:40
 * @Description:
 */
package com.xinguan.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xinguan.entity.Commodity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface CommodityMapper extends BaseMapper<Commodity> {

    List<Commodity> selectByParam(@Param("id") String id, @Param("commodityName") String commodityName, @Param("inventoryStatus") Integer inventoryStatus, @Param("popularity") Integer popularity);
}
